<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8" />
    <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="theme-color" content="#000000" />
    <title><%= htmlWebpackPlugin.options.title %></title>

    <% if (process.env.NODE_ENV === 'production') { %>
      <script>
        window.renderTemplate = {{renderTemplate}}
        window.renderData = {{renderData}}
      </script>
      <style>
        body {
          width: {{bodyWidth}}px;
          height: {{bodyHeight}}px;
        }
      </style>
    <% } %>
  </head>
  <body>
    <noscript>You need to enable JavaScript to run this app.</noscript>
    <div id="root"></div>
  </body>
</html>
